import java.util.ArrayList;


public class Logic {

	private static Logic instance = null;
	public static Logic getInstance() {
		if(instance==null)instance = new Logic();
		return instance;
	}
	private Logic() {}
	
	ArrayList<Rule> rules = new ArrayList<Rule>();
	public void addRule(Rule r) {
		rules.add(r);
	}
	public void clear() {
		rules = new ArrayList<Rule>();
	}
	
}
